﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MethodWorx.CMS.Configuration;

namespace MethodWorx.CMS.Plugins.Configuration
{
    public class LinkPropertyConfiguration : IPropertyConfiguration
    {
        #region IPropertyConfiguration Members

        public Type GetDetailsType()
        {
            return typeof(LinkPropertyDetails);
        }

        public string Name
        {
            get { return "Link"; }
        }

        public AssemblyResourceReference GetPropertyEditorControl()
        {
            return new AssemblyResourceReference(this.GetType().Assembly, "Views/LinkPropertyEditor.ascx");
        }

        public AssemblyResourceReference GetPropertyControl()
        {
            return new AssemblyResourceReference(this.GetType().Assembly, "Views/LinkProperty.ascx");
        }

        #endregion
    }
}
